package com.fintecher.service.serviceImpl;

import com.fintecher.dao.IAcceptorDao;
import com.fintecher.pojo.Acceptor;
import com.fintecher.service.IAcceptorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2017/2/10.
 */@Service("acceptorService")
public class AcceptorServiceImpl implements IAcceptorService {
     @Resource
     IAcceptorDao acceptorDao;
    public Acceptor selectByPrimaryKey(Integer id) {
        return acceptorDao.selectByPrimaryKey(id);
    }

    public Acceptor selectPositive(Integer id) {
        return acceptorDao.selectPositive(id);
    }

    public Acceptor getOnePositive(Integer id) {
        return acceptorDao.getOnePositive(id);
    }

    public Acceptor selectAcceptor(Integer id) {
        return acceptorDao.selectAcceptor(id);
    }
}
